package com.ant.backstage.dao;

import com.ant.backstage.facade.model.Userrole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* Created by Mybatis Generator 2021/12/23
*/
public interface UserroleMapper {
    int insert(Userrole record);

    List<Userrole> selectAll();

    List<Userrole> selectRoleByUid(@Param("uid") String uid);

    void delByuid(@Param("uid")String uid,@Param("roleId")String roleId);

    Userrole selectRoleByUidAndRoleId(@Param("roleId")String roleId, @Param("uid")String uid);

}